<html>
<head><meta charset="utf-8"><title>rustc-dev · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html">rustc-dev</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="182027162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182027162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182027162">(Nov 27 2019 at 15:05)</a>:</h4>
<p>We have a rustc-dev group on github (<a href="https://github.com/rustc-dev" target="_blank" title="https://github.com/rustc-dev">https://github.com/rustc-dev</a>) that we ended never using? Maybe delete it cc <span class="user-mention" data-user-id="116009">@nikomatsakis</span></p>



<a name="182994907"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182994907" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182994907">(Dec 09 2019 at 20:14)</a>:</h4>
<p>huh, I have zero memory of this</p>



<a name="182994992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182994992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182994992">(Dec 09 2019 at 20:15)</a>:</h4>
<p>Can anybody think of a reason not to delete the rustc-dev github org? cc <span class="user-mention" data-user-id="121055">@Pietro Albini</span>, <span class="user-mention" data-user-id="116122">@simulacrum</span> , <span class="user-mention" data-user-id="116083">@pnkfelix</span>?</p>



<a name="182995312"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182995312" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182995312">(Dec 09 2019 at 20:18)</a>:</h4>
<p>hm, I suspect that might be <span class="user-mention" data-user-id="121055">@Pietro Albini</span>'s org for rust-lang/rust gh action experimentation?</p>



<a name="182995319"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182995319" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182995319">(Dec 09 2019 at 20:18)</a>:</h4>
<p>But I don't actually know :)</p>



<a name="182996296"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182996296" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182996296">(Dec 09 2019 at 20:28)</a>:</h4>
<p>ok then I will wait</p>



<a name="182996300"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182996300" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182996300">(Dec 09 2019 at 20:28)</a>:</h4>
<p>I have no idea what it is</p>



<a name="182996487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182996487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182996487">(Dec 09 2019 at 20:30)</a>:</h4>
<p>(I do not appear to have any access, FWIW, I also don't know)</p>



<a name="182998414"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182998414" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182998414">(Dec 09 2019 at 20:50)</a>:</h4>
<p>it's not an org of mine</p>



<a name="182998451"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182998451" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182998451">(Dec 09 2019 at 20:50)</a>:</h4>
<p>we should be really careful with deleting orgs though</p>



<a name="182998471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/182998471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#182998471">(Dec 09 2019 at 20:50)</a>:</h4>
<p>(maybe not for that, but surely we don't want to delete the nursery even when everything is migrated)</p>



<a name="183004724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/183004724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#183004724">(Dec 09 2019 at 21:58)</a>:</h4>
<p>ha ha rustc-dev has a pending invitation for eddy</p>



<a name="183007910"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/183007910" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#183007910">(Dec 09 2019 at 22:40)</a>:</h4>
<p>(I'm guessing we created this at one of ancient T-compiler work weeks with the intent of making it a central point for shared rustc experiments? But heck if I know.)</p>



<a name="183114625"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/183114625" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#183114625">(Dec 10 2019 at 23:43)</a>:</h4>
<p>I wouldn't delete it even if unused, just let it sit fallow. Might as well have the name.</p>



<a name="183157895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/183157895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#183157895">(Dec 11 2019 at 13:48)</a>:</h4>
<p>maybe we can just change the description "<strong>deprecated.</strong> we have no idea what this is here for but we're keeping it"</p>



<a name="202853511"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853511" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853511">(Jul 04 2020 at 03:16)</a>:</h4>
<p>hi all! just started my journey for contributing to rustc. currently at an issue with building stage1 with the command where <code>./x.py build --stage 1</code> is taking quite a while. it seems to be stuck at this part and not sure if it's just taking a long time or if something is wrong:</p>
<div class="codehilite"><pre><span></span><code>   Compiling rustc_typeck v0.0.0 (/Users/drshrey/dev/go/src/github.com/rust-lang/rust/src/librustc_typeck)
   Compiling rustc_lint v0.0.0 (/Users/drshrey/dev/go/src/github.com/rust-lang/rust/src/librustc_lint)
   Compiling rustc_mir_build v0.0.0 (/Users/drshrey/dev/go/src/github.com/rust-lang/rust/src/librustc_mir_build)
   Compiling rustc_traits v0.0.0 (/Users/drshrey/dev/go/src/github.com/rust-lang/rust/src/librustc_traits)
    Building [==================================================&gt;    ] 199/212: rustc_typeck, rustc_mir_build, rustc_middle, rustc_traits
</code></pre></div>



<a name="202853565"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853565" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853565">(Jul 04 2020 at 03:17)</a>:</h4>
<p>Can you define "taking quite a while"? How powerful of a machine are you building on?</p>



<a name="202853619"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853619" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853619">(Jul 04 2020 at 03:18)</a>:</h4>
<p>sure, here's the specs: <a href="/user_uploads/4715/qIg3nzMAMbVmUMHfaHHJHmx4/Screen-Shot-2020-07-03-at-8.17.56-PM.png">Screen-Shot-2020-07-03-at-8.17.56-PM.png</a> </p>
<div class="message_inline_image"><a href="/user_uploads/4715/qIg3nzMAMbVmUMHfaHHJHmx4/Screen-Shot-2020-07-03-at-8.17.56-PM.png" title="Screen-Shot-2020-07-03-at-8.17.56-PM.png"><img src="/user_uploads/4715/qIg3nzMAMbVmUMHfaHHJHmx4/Screen-Shot-2020-07-03-at-8.17.56-PM.png"></a></div><p>when I control-c'd, this is my output:</p>
<div class="codehilite"><pre><span></span><code>^C
Build completed unsuccessfully in 1:50:30
</code></pre></div>



<a name="202853626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853626">(Jul 04 2020 at 03:19)</a>:</h4>
<p>yeah, it's going to take a looong time on that machine</p>



<a name="202853629"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853629" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853629">(Jul 04 2020 at 03:19)</a>:</h4>
<p>ahh damn</p>



<a name="202853670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853670">(Jul 04 2020 at 03:20)</a>:</h4>
<p>is it a necessary step or can I bypass with something more minimal for now to move along in the setup process for contributing?</p>



<a name="202853677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853677">(Jul 04 2020 at 03:20)</a>:</h4>
<p>I haven't picked a first issue from <a href="https://github.com/rust-lang/rust/contribute">https://github.com/rust-lang/rust/contribute</a> just yet, so maybe it's dependent on that in terms of the specific components I should build (were I to go that route)?</p>



<a name="202853729"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853729" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853729">(Jul 04 2020 at 03:22)</a>:</h4>
<p>I'd say you can get away with not building locally if it really takes too long for you. I know some people rarely build locally and mostly just use the builds that happen with PRs.</p>



<a name="202853788"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853788" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853788">(Jul 04 2020 at 03:24)</a>:</h4>
<p>I know that when working on lower-powered machines I will sometimes just set up builds to go overnight, but it is definitely not preferred</p>



<a name="202853968"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202853968" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202853968">(Jul 04 2020 at 03:30)</a>:</h4>
<p>Gotcha, can I get away with just relying on rust-analyzer for development then?</p>



<a name="202854033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202854033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202854033">(Jul 04 2020 at 03:33)</a>:</h4>
<p>I haven't swapped over to rust-analyzer yet, but I know RLS never really worked for <code>rustc</code> due to the odd (for rust) compilation method</p>



<a name="202854083"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202854083" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202854083">(Jul 04 2020 at 03:34)</a>:</h4>
<p>for what it is worth, builds will (generally) be quicker after the first time especially with incremental turned on</p>



<a name="202854952"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202854952" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202854952">(Jul 04 2020 at 04:05)</a>:</h4>
<p>ahh interesting, I may just check it out for curiosity then. that's good news, we're almost there :D <a href="/user_uploads/4715/zKFP8oq8qAmjZB4VfjGVaqlp/Screen-Shot-2020-07-03-at-9.01.18-PM.png">Screen-Shot-2020-07-03-at-9.01.18-PM.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/zKFP8oq8qAmjZB4VfjGVaqlp/Screen-Shot-2020-07-03-at-9.01.18-PM.png" title="Screen-Shot-2020-07-03-at-9.01.18-PM.png"><img src="/user_uploads/4715/zKFP8oq8qAmjZB4VfjGVaqlp/Screen-Shot-2020-07-03-at-9.01.18-PM.png"></a></div>



<a name="202855033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202855033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202855033">(Jul 04 2020 at 04:08)</a>:</h4>
<p>should the RLS incompatibility with rustc be denoted in rust-analyzer installation docs, like as a disclaimer?</p>



<a name="202855507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202855507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202855507">(Jul 04 2020 at 04:23)</a>:</h4>
<p>the RLS incompatibility is talked about here (<a href="https://rustc-dev-guide.rust-lang.org/building/ctags.html">https://rustc-dev-guide.rust-lang.org/building/ctags.html</a>), though it doesn't mention rust-analyzer</p>



<a name="202855624"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202855624" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> yodal <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202855624">(Jul 04 2020 at 04:27)</a>:</h4>
<p>I don't think it needs to be mentioned in the rust-analyzer docs themselves, but maybe in the rustc dev guide</p>



<a name="202860992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202860992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202860992">(Jul 04 2020 at 07:11)</a>:</h4>
<p>In case you are also interested in working on the standard library/libcore, you can probably use <code>./x.py test src/libcore --stage 0</code>,<br>
which doesn't require you to build the compiler while still being able to (mostly) test your changes locally-</p>



<a name="202861044"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202861044" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202861044">(Jul 04 2020 at 07:12)</a>:</h4>
<p>Or even just use<code>./x.py check</code> locally and leave the testing to github</p>



<a name="202862438"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202862438" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202862438">(Jul 04 2020 at 07:53)</a>:</h4>
<p>Awesome good to know! Looks like I just finished the stage1 release <a href="/user_uploads/4715/T8FDGfmjuICD0nDN33xYwVsP/Screen-Shot-2020-07-04-at-12.50.31-AM.png">Screen-Shot-2020-07-04-at-12.50.31-AM.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/T8FDGfmjuICD0nDN33xYwVsP/Screen-Shot-2020-07-04-at-12.50.31-AM.png" title="Screen-Shot-2020-07-04-at-12.50.31-AM.png"><img src="/user_uploads/4715/T8FDGfmjuICD0nDN33xYwVsP/Screen-Shot-2020-07-04-at-12.50.31-AM.png"></a></div>



<a name="202862725"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202862725" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202862725">(Jul 04 2020 at 08:00)</a>:</h4>
<p>uff <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span> I really recommend you to just test rustc using CI</p>



<a name="202863034"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202863034" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202863034">(Jul 04 2020 at 08:07)</a>:</h4>
<p>Yeah I may have learned this the hard way <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span> . Hopefully this helps with faster dev time now that I should be able to test most things locally? I'm still quite new and just following the guide online. What's the cost of testing rustc using CI such that it's not the recommended route for contributors on the guide?</p>



<a name="202863342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202863342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202863342">(Jul 04 2020 at 08:16)</a>:</h4>
<p>hmm, not too sure about this <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span> if you have a more powerful machine it's more cumbersome, which might be part of the reason.</p>



<a name="202863400"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202863400" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202863400">(Jul 04 2020 at 08:18)</a>:</h4>
<p>You also sometimes have to run <code>./x.py test src/test/ui --stage 1 --bless</code> if the test output changed due to your changes (or you added new UI tests yourself), in which case CI isn't too helpful</p>



<a name="202863521"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202863521" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202863521">(Jul 04 2020 at 08:22)</a>:</h4>
<p>How long does running <code>./x.py check</code> take for you?</p>



<a name="202869807"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202869807" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202869807">(Jul 04 2020 at 11:34)</a>:</h4>
<p>If you enable incremental compilation first build will be slightly slower but next builds will be faster.<br>
Developing Rust on the notebook is still a pain.</p>



<a name="202872268"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202872268" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202872268">(Jul 04 2020 at 12:44)</a>:</h4>
<p><code>build --stage 1</code> also builds the whole thing twice which you don't need, use <code>build --stage 1 src/libstd</code> instead</p>



<a name="202875164"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202875164" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202875164">(Jul 04 2020 at 14:04)</a>:</h4>
<p>I'm trying to make this the default <a href="https://github.com/rust-lang/compiler-team/issues/326">https://github.com/rust-lang/compiler-team/issues/326</a></p>



<a name="202888893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202888893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#202888893">(Jul 04 2020 at 19:54)</a>:</h4>
<p><span class="user-mention silent" data-user-id="216206">lcnr</span> <a href="#narrow/stream/131828-t-compiler/topic/rustc-dev/near/202863521">said</a>:</p>
<blockquote>
<p>How long does running <code>./x.py check</code> take for you?</p>
</blockquote>
<p>It took <code>0:11:08</code>.</p>



<a name="203548168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/203548168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#203548168">(Jul 10 2020 at 19:21)</a>:</h4>
<p><span class="user-mention" data-user-id="317265">@drshrey</span>  <code>./x.py check</code> takes a few minutes on my laptop... it's much faster than a full build. I avoid building locally if I can. Usually that means <code>check</code> until it compiles then use CI. Also, rust-analyzer is pretty good. (btw, not sure if you have seen this: <a href="https://rustc-dev-guide.rust-lang.org/getting-started.html">https://rustc-dev-guide.rust-lang.org/getting-started.html</a>)</p>



<a name="203548462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/rustc-dev/near/203548462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> drshrey <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/rustc-dev.html#203548462">(Jul 10 2020 at 19:25)</a>:</h4>
<p>Yeah, check was a lot faster for me too. I didn't know you didn't have to<br>
build rustc to get started. I did see that but didn't ready it as<br>
extensively as I should've, thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>